package com.wl.dzt.basic.controller;

import com.wl.dzt.basic.service.BasicPortalService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import springfox.documentation.annotations.ApiIgnore;

import javax.annotation.Resource;


/**
 * @author wl_code@163.com
 * @version 1.0
 * @date 2018/7/12/012
 * @description 快捷方式控制器
 * 
 */
@ApiIgnore
@Controller
@RequestMapping("admin/basicPortal")
public class BasicPortalController {

	/**
	 * 快捷方式服务
	 */
	@Resource
	private BasicPortalService basicPortalService;

	/**
	 * <b>改变排序</b>
	 * <p>
	 * 改变快捷方式的排序
	 * </p>
	 * 
	 * @param tid
	 * @param sid
	 */
	@RequestMapping("changeSort")
	public void changeSort(String tid, String sid) {
		basicPortalService.changeSort(tid, sid);
	}
}
